package com.junfeng.pet2048.constant;


import lombok.Data;

/**
 * 与前端交互的协议
 */
@Data
public class CSProtocol {
    /**
     * 用户加入匹配大厅
     */
    public static final Integer ADD_USER = 0x8000;
    /**
     * 匹配对手
     */
    public static final Integer MATCH_USER = 0x8001;
    /**
     * 取消匹配
     */
    public static final Integer CANCEL_MATCH= 0x8002;
    /**
     * 我方帧
     */
    public static final Integer MYSELF_FRAME = 0x8003;
    /**
     * 对手帧
     */
    public static final Integer OPPONENT_FRAME = 0x8004;
    /**
     * 游戏结束
     */
    public static final Integer GAME_OVER = 0x8005;
}
